package com.buoy.base.aluminumpricespider.exception;

/**
 * 资源不存在异常
 */
public class NotFoundException extends BusinessException {
    
    public NotFoundException(String message) {
        super(message, "NOT_FOUND", 404);
    }
    
    public NotFoundException(String resourceName, Long id) {
        super(String.format("资源 %s (ID: %d) 未找到", resourceName, id), "NOT_FOUND", 404);
    }
} 